package com.pension.org.mapper;

import com.pension.org.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {
    //用户登录
    UserInfo findOne(UserInfo user);
    //用户注册
    int addOne(UserInfo user);
    //注册时的重名检测
    UserInfo checkReg(String userLogin);
}
